
<?php foreach($this->paginator as $article) :?>
	<div id="content-text">
	
		<h2><?php echo $this->escape($article->titre);?></h2>
		<h3>Par <?php echo $this->escape($article->auteur);?>, <?php echo $this->escape($article->date);?></h3>
		<p>
		<?php echo $this->escape($article->resume);?>
		<p>
		<p>
			<a class="btn"
				href="<?php echo $this->url(array('controller'=>'article','action'=>'voir','id' => $article->id));?>">Lire plus &raquo;</a>
		</p>
		
		<div id="content-icone">
		<?php if($article->type == "IT"):?>
		<img src="<?php echo $this->baseUrl().'/css/images/it.png';?>" alt="IT" width="50" height="50">
		<?php endif;?>
		<?php if  ($article->type == "Starcraft"):?>
		<img src="<?php echo $this->baseUrl().'/css/images/sc2.png';?>" alt="IT" width="50" height="50">
		<?php endif;?>
		</div>
	</div>
	
	
<?php endforeach;

echo $this->paginationControl($this->paginator, 'Sliding', 'common/pagination.phtml'); ?>

<br>